<?php
/**
 * Created by PhpStorm.
 * User: skytop
 * Date: 16-8-28
 * Time: 下午1:17
 */

namespace Admin\Model;

use Think\Model;
class CateModel extends Model
{
    protected $_validate=array(
        array('name','','栏目名称已存在!',0,'unique',1),
        array('name','require','请填写栏目名称!'),
    );
}